package com.dobbyspringside.examples.quickstart.web.api;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by liguoqing on 2016/2/17.
 */
@Controller
@RequestMapping(value = "/api")
public class ApiListController {

    @RequestMapping(method = RequestMethod.GET)
    public String list() {
        return "api/list";
    }
}
